package com.sun.service.impl;

import com.sun.dao.UserDao;
import com.sun.dao.impl.UserDaoImpl;
import com.sun.entity.User;
import com.sun.service.UserService;

/**
 * @author SunRui
 * @description TODO
 * @date 2024/9/10 18:26
 */
public class UserServiceImpl implements UserService {
    User user;
    UserDao userDao;
    @Override
    public void soutUser() {
        userDao.selectUser(user);
    }

    public void setUserDao(UserDaoImpl userDao) {
        this.userDao = userDao;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
